home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / NETLPD.IN_ / netlpd.inf
Encoding:
INI File  |  2003-03-24  |  4.0 KB  |  133 lines

  1. ; -- NETLPD.INX --
  2. ;
  3. ; TCP/IP Print Services.
  4. ;
  5. ; Copyright (c) Microsoft Corporation.  All rights reserved.
  6.  
  7.  
  8. [version]
  9. signature               = "$Windows NT$"
  10. Provider                = %Msft%
  11. LayoutFile              = layout.inf
  12. DriverVer=10/01/2002,5.2.3790.0
  13.  
  14.  
  15. [LPDSVC]
  16. CopyFiles               = LPDSVC.CopyFiles.Sys
  17. Uninstall               = LPDSVC.Remove
  18. StartServices           = LPDSVC
  19. ; DependOnComponents      = MS_TCPIP    ; since TcpIp is always installed now
  20.  
  21.  
  22. [LPDSVC.Services]
  23. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  24. AddService              = LPDSVC,       0x10,       LPDSVC.AddService, LPDSVC.AddEventLog
  25.  
  26.  
  27. [LPDSVC.Remove.Services]
  28. DelService              = LPDSVC
  29.  
  30.  
  31. ;
  32. ; Print monitor stuff
  33. ;
  34. [LPDSVC.PrintMonitor]
  35. AddMonitor              = LPDSVC.AddPrintMonitor
  36.  
  37.  
  38. [LPDSVC.Remove.PrintMonitor]
  39. DelMonitor              = LPDSVC.Remove.DelPrintMonitor
  40.  
  41.  
  42. [LPDSVC.AddPrintMonitor]
  43. PrintMonitorName        = "LPR Port"
  44. PrintMonitorDLL         = "lprmon.dll"
  45.  
  46.  
  47. [LPDSVC.Remove.DelPrintMonitor]
  48. PrintMonitorName        = "LPR Port"
  49.  
  50.  
  51. [LPDSVC.AddService]
  52. DisplayName             = %LPDSVC_Display%
  53. ServiceType             = %SERVICE_WIN32_SHARE_PROCESS%
  54. StartType            = %SERVICE_AUTO_START%
  55. ErrorControl            = %SERVICE_ERROR_NORMAL%
  56. Dependencies            = Tcpip, Spooler
  57. ServiceBinary           = %11%\tcpsvcs.exe
  58. StartName               = LocalSystem
  59. AddReg                  = LPDSVC.AddReg
  60. Description             = %LPDSVC_Desc%
  61.  
  62.  
  63. [LPDSVC.AddReg]
  64. HKR,   "Parameters",    "AllowJobRemoval",        0x10003,    1
  65. HKR,   "Parameters",    "AllowPrinterResume",     0x10003,    1
  66. HKR,   "Parameters",    "MaxConcurrentUsers",     0x10003,    100
  67.  
  68.  
  69. HKLM,  "System\CurrentControlSet\Services\EventLog\Application\LPR Print Monitor", "EventMessageFile", %REG_EXPAND_SZ%, "%SystemRoot%\System32\lprmon.dll"
  70.  
  71. [LPDSVC.AddEventLog]
  72. AddReg = LPDSVC.AddEventLog.AddReg
  73.  
  74.  
  75. [LPDSVC.AddEventLog.AddReg]
  76. HKR,    ,                                               "EventMessageFile",             %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\lpdsvc.dll"
  77. HKR,    ,                                               "TypesSupported",               %REG_DWORD%,    0x00000007
  78.  
  79.  
  80. [LPDSVC.Upgrade]
  81. CopyFiles               = LPDSVC.CopyFiles.Sys
  82.  
  83.  
  84. [DestinationDirs]
  85. LPDSVC.CopyFiles.Sys    = 11
  86.  
  87.  
  88. [LPDSVC.CopyFiles.Sys]
  89. lpdsvc.dll,     ,   ,   2
  90. lprmon.dll,     ,   ,   0x00001002
  91.  
  92. [LPDSVC.CopyFiles.Sys.Security]
  93. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  94.  
  95.  
  96. [Strings]
  97. Msft                        = "Microsoft"
  98.  
  99. LPDSVC_Display              = "TCP/IP Print Server"
  100. LPDSVC_Desc                 = "Enables TCP/IP-based printing using the Line Printer Daemon protocol. If this service is stopped, TCP/IP-based printing will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start."
  101. LPDSVC_HELP                 = "Enables Windows to print to TCP/IP-connected printers or to printers that are physically attached to UNIX computers."
  102.  
  103. ; ServiceType values
  104. SERVICE_KERNEL_DRIVER       = 0x00000001
  105. SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
  106. SERVICE_ADAPTER             = 0x00000004
  107. SERVICE_RECOGNIZER_DRIVER   = 0x00000008
  108. SERVICE_WIN32_OWN_PROCESS   = 0x00000010
  109. SERVICE_WIN32_SHARE_PROCESS = 0x00000020
  110. SERVICE_INTERACTIVE_PROCESS = 0x00000100
  111. SERVICE_INTERACTIVE_SHARE_PROCESS = 0x00000120
  112.  
  113. ; StartType values
  114. SERVICE_BOOT_START          = 0x00000000
  115. SERVICE_SYSTEM_START        = 0x00000001
  116. SERVICE_AUTO_START          = 0x00000002
  117. SERVICE_DEMAND_START        = 0x00000003
  118. SERVICE_DISABLED            = 0x00000004
  119.  
  120. ; ErrorControl values
  121. SERVICE_ERROR_IGNORE        = 0x00000000
  122. SERVICE_ERROR_NORMAL        = 0x00000001
  123. SERVICE_ERROR_SEVERE        = 0x00000002
  124. SERVICE_ERROR_CRITICAL      = 0x00000003
  125.  
  126. ; Registry types
  127. REG_MULTI_SZ                = 0x10000
  128. REG_EXPAND_SZ               = 0x20000
  129. REG_DWORD                   = 0x10001
  130. FLG_ADDREG_KEYONLY          = 0x00000010
  131.  
  132.  
  133.